package com.pap.product.discount.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_product_discount", namespace = "com.pap.product.discount.auto.mapper.ProductDiscountMapper", remarks = " 修改点 ", aliasName = "t_product_discount t_product_discount")
public class ProductDiscount extends PapBaseEntity implements Serializable {
	/**
	 * 贴息名称,所属表字段为t_product_discount.NAME
	 */
	@MyBatisColumnAnnotation(name = "NAME", value = "t_product_discount_NAME", chineseNote = "贴息名称", tableAlias = "t_product_discount")
	private String name;

	/**
	 * 贴息方,所属表字段为t_product_discount.DISCOUNT_PART
	 */
	@MyBatisColumnAnnotation(name = "DISCOUNT_PART", value = "t_product_discount_DISCOUNT_PART", chineseNote = "贴息方", tableAlias = "t_product_discount")
	private String discountPart;

	/**
	 * 贴息额度,所属表字段为t_product_discount.DISCOUNT_MONEY
	 */
	@MyBatisColumnAnnotation(name = "DISCOUNT_MONEY", value = "t_product_discount_DISCOUNT_MONEY", chineseNote = "贴息额度", tableAlias = "t_product_discount")
	private String discountMoney;

	/**
	 * 车辆,所属表字段为t_product_discount.CAR_IDS
	 */
	@MyBatisColumnAnnotation(name = "CAR_IDS", value = "t_product_discount_CAR_IDS", chineseNote = "车辆", tableAlias = "t_product_discount")
	private String carIds;

	/**
	 * 区域,所属表字段为t_product_discount.AREA_IDS
	 */
	@MyBatisColumnAnnotation(name = "AREA_IDS", value = "t_product_discount_AREA_IDS", chineseNote = "区域", tableAlias = "t_product_discount")
	private String areaIds;

	/**
	 * 生效时间,所属表字段为t_product_discount.BEGIN_TIME
	 */
	@MyBatisColumnAnnotation(name = "BEGIN_TIME", value = "t_product_discount_BEGIN_TIME", chineseNote = "生效时间", tableAlias = "t_product_discount")
	private String beginTime;

	/**
	 * 失效时间,所属表字段为t_product_discount.END_TIME
	 */
	@MyBatisColumnAnnotation(name = "END_TIME", value = "t_product_discount_END_TIME", chineseNote = "失效时间", tableAlias = "t_product_discount")
	private String endTime;

	/**
	 * 状态,所属表字段为t_product_discount.STATUS_FLAG
	 */
	@MyBatisColumnAnnotation(name = "STATUS_FLAG", value = "t_product_discount_STATUS_FLAG", chineseNote = "状态", tableAlias = "t_product_discount")
	private String statusFlag;

	private static final long serialVersionUID = 1L;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDiscountPart() {
		return discountPart;
	}

	public void setDiscountPart(String discountPart) {
		this.discountPart = discountPart;
	}

	public String getDiscountMoney() {
		return discountMoney;
	}

	public void setDiscountMoney(String discountMoney) {
		this.discountMoney = discountMoney;
	}

	public String getCarIds() {
		return carIds;
	}

	public void setCarIds(String carIds) {
		this.carIds = carIds;
	}

	public String getAreaIds() {
		return areaIds;
	}

	public void setAreaIds(String areaIds) {
		this.areaIds = areaIds;
	}

	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getStatusFlag() {
		return statusFlag;
	}

	public void setStatusFlag(String statusFlag) {
		this.statusFlag = statusFlag;
	}

	@Override
	public String getDynamicTableName() {
		return "t_product_discount";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", name=").append(name);
		sb.append(", discountPart=").append(discountPart);
		sb.append(", discountMoney=").append(discountMoney);
		sb.append(", carIds=").append(carIds);
		sb.append(", areaIds=").append(areaIds);
		sb.append(", beginTime=").append(beginTime);
		sb.append(", endTime=").append(endTime);
		sb.append(", statusFlag=").append(statusFlag);
		sb.append("]");
		return sb.toString();
	}
}